package cn.tedu.pethospital.pet.service.impl;

import cn.tedu.pethospital.pet.mapper.PetMapper;
import cn.tedu.pethospital.pet.pojo.dto.PetQuery;
import cn.tedu.pethospital.pet.pojo.vo.PetVO;
import cn.tedu.pethospital.pet.service.PetService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class PetServiceImpl implements PetService {
    @Autowired
    PetMapper petMapper;
    @Override
    public List<PetVO> selectPet(PetQuery petQuery){
        log.debug("查询宠物·:petQuery={}",petQuery);
        List<PetVO>list=petMapper.selectPet(petQuery);
        return list;
    }



}
